{"version":3,"sources":["hs.scroll-nav.js"],"names":["$","HSCore","components","HSScrollNav","_baseConfig","duration","easing","over","activeItemClass","afterShow","beforeShow","_pageCollection","init","collection","config","self","this","length","each","i","el","$this","itemConfig","isPlainObject","extend","data","add","window","on","contains","document","highlight","trigger","element","_items","_makeItems","_bindEvents","prototype","find","filter","key","item","hash","getAttribute","split","getElementById","HSScrollNavSection","e","link","_lockHightlight","current","unhighlight","blur","show","preventDefault","items","currentItem","scrollTop","height","last","changeHash","Section","$section","section","offset","Object","defineProperty","value","attr","get","header","headerHeight","outerHeight","headerStyles","getComputedStyle","headerPosition","position","top","headerTop","parseInt","headerMarginTop","marginTop","callback","call","stop","animate","complete","isFunction","parent","addClass","removeClass","jQuery"],"mappings":"CAQC,SAAWA,GACV,aACAA,EAAEC,OAAOC,WAAWC,aAOlBC,aACEC,SAAU,IACVC,OAAQ,SACRC,KAAMP,IACNQ,gBAAiB,SACjBC,UAAW,aACXC,WAAY,cAQdC,gBAAiBX,IAYjBY,KAAM,SAASC,EAAYC,GAEzB,IAAIC,EAAOC,KAEX,IAAKH,IAAeA,EAAWI,OAAS,OAAOjB,IAE/Ca,EAAWK,KAAK,SAASC,EAAGC,GAE1B,IAAIC,EAAQrB,EAAEoB,GACVE,EAAaR,GAAUd,EAAEuB,cAAcT,GAC1Bd,EAAEwB,OAAO,QAAUT,EAAKX,YAAaU,EAAQO,EAAMI,QACnDzB,EAAEwB,OAAO,QAAUT,EAAKX,YAAaiB,EAAMI,QAE5D,IAAKJ,EAAMI,KAAK,eAAiB,CAE/BJ,EAAMI,KAAK,cAAe,IAAItB,EAAYkB,EAAOC,IAEjDP,EAAKJ,gBAAkBI,EAAKJ,gBAAgBe,IAAKL,MAMrDrB,EAAE2B,QAAQC,GAAG,qBAAsB,WAEjCb,EAAKJ,gBAAgBO,KAAK,SAASC,EAAGC,GAEpC,GAAGpB,EAAE6B,SAASC,SAAUV,GACxB,CACEpB,EAAEoB,GAAIK,KAAK,eAAeM,iBAK7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